﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AccesoBD;

namespace GAIA_Logica
{
    public class logErrores
    {

        //Conexion a base de datos
        private static AcessoBD dba = new AcessoBD(Properties.Settings.Default.GAIA_CON);

        public static void registrarError(string param1,string param2){
            string SqlQuery = "Insert into logerrors values ('" + param1 + "','" + param2 + "')";
            dba.execute_Consulta(SqlQuery, null);
        }


    }
}
